package com.yunkeji.dao.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.yunkeji.common.annotation.ExcelDictFormat;
import com.yunkeji.common.convert.ExcelDictConvert;
import lombok.Data;

import java.io.Serializable;

/**
 * APP版本信息视图对象 ykj_sys_version
 *
 * @author zhang
 * @date 2024-07-10
 */
@Data
@ExcelIgnoreUnannotated
public class SysVersionVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 自增索引 */
    @ExcelProperty(value = "自增索引")
    private Long versionIndex;

    /** 是否有效 */
    @ExcelProperty(value = "是否有效", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "app_yes_no")
    private Integer validFlag;

    /** 版本代码 */
    @ExcelProperty(value = "版本代码")
    private String versionCode;

    /** 下载地址 */
    @ExcelProperty(value = "下载地址")
    private String versionDownloadUrl;

    /** 是否强制更新 */
    @ExcelProperty(value = "是否强制更新", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "app_yes_no")
    private Integer forceUpdate;

    /** 更新细节 */
    @ExcelProperty(value = "更新细节")
    private String updateDetail;

    /** */
    @ExcelProperty(value = "")
    private String remark;

    /** */
    @ExcelProperty(value = "渠道", converter = ExcelDictConvert.class)
    private Integer branch;
}
